export default {
  onShareAppMessage: function () {
      const _this = this;
      const tx_title = '热门头像|个性头像|高清头像|海量资源 应用尽有 免费下载'
      const bz_title = '性感壁纸|美女壁纸|炫酷壁纸|省电壁纸|唯美壁纸海量资源  应用尽有 免费下载'
      const shareTitle = this.urlPath == 'bizhi' ? bz_title : tx_title
      return {
        title: shareTitle,
        desc: shareTitle,
        path: `/pages/${this.urlPath}/index?active=${_this.active}`, // 路径，传递参数到指定页面。
      }
    },
       /*分享朋友圈 */
   onShareTimeline: function() {
      const _this = this;
      const tx_title = '热门头像|个性头像|高清头像|海量资源 应用尽有 免费下载'
      const bz_title = '性感壁纸|美女壁纸|炫酷壁纸|省电壁纸|唯美壁纸海量资源  应用尽有 免费下载'
      const shareTitle = this.urlPath == 'bizhi' ? bz_title : tx_title
      return {
        title: shareTitle,
      }
    },
}

// 设置分享的页面
// import share from '../share/index.js'
// export default {
//   mixins: [share],
// }
